home *** CD-ROM | disk | FTP | other *** search
/ Champak 108 / jogo-disk-108.iso / Games / steppenwolf_1_chapter_4.swf / scripts / DefineButton2_954 / BUTTONCONDACTION on(release).as
Text File  |  2010-05-15  |  410b  |  17 lines

  1. on(release){
  2.    set("/Variables:Stoppe",false);
  3.    _root.Inventaire.swapdepths(_root.Gts);
  4.    setProperty("/Gts", _X, 536);
  5.    setProperty("/Gts", _Y, 357);
  6.    setProperty("/Gts", _xscale, 20);
  7.    setProperty("/Gts", _yscale, 20);
  8.    if(eval("/Variables:Grimpe") == false)
  9.    {
  10.       tellTarget("/")
  11.       {
  12.          gotoAndStop(eval("/Variables:EtatActif"));
  13.       }
  14.    }
  15.    gotoAndStop(1);
  16. }
  17.